﻿<!DOCTYPE html>
<html>
<head>
	<title>@ViewBag.Title</title>
	<link href="@Url.Content("~/Content/Themes/Default/Site.css")" rel="stylesheet" type="text/css" />
	<script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
	<link href="@Url.Content("~/Scripts/Plugins/TwitterTicker/TwitterTracker.css")" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="@Url.Content("~/Scripts/Plugins/TwitterTicker/jquery.tweetable.min.js")"></script>
</head>
<body>
	<div id="header">
		<div id="logo">
			<img src='@Url.Content("~/Content/Themes/Default/Images/logo.png")' />
		</div>
	</div>
	<div id="menu">
		<ul id="menuLinks">
			<li>@Html.ActionLink("Home", "Index", "Home", new { area = String.Empty }, null)</li>
			@if (Request.IsAuthenticated)
   {
				<li>@Html.ActionLink("Administration", "Index", "Post", new { area = "Administration" }, null)</li>
				<li>@Html.ActionLink("Posts", "Index", "Post", new { area = "Administration" }, null)</li>
				<li>@Html.ActionLink("Media", "Add", "Media", new { area = "Administration" }, null)</li>
				<li>@Html.ActionLink("Logout", "Logout", "Account")</li>
   }
   else
   {
				<li>@Html.ActionLink("Login", "Login", "Account")</li>
   }
		</ul>
	</div>
	<div id="wrap">
		<div id="main" class="rounded_border post_content">
			@RenderBody()
		</div>
		<div id="sidebar" class="rounded_border">
		</div>
	</div>
</body>
</html>
